import api from "../../api/api.js"
const state = {
	dictList: new Array()
}
const mutations = {
	
}

const actions = {
	initDict(context) {
		return new Promise((resolve,reject)=>{
			api.appDictInit().then(data=>{
				context.state.dictList = data
			})
		})
	},
}

export default {
	namespaced: true,
	state,
	mutations,
	actions
}